package yunjiao.javatutorials.designpatterns.observer;

/**
 * 观察者接口
 *
 * @author yangyunjiao
 */
public interface Observer {
    void update(Subject subject);
    String getName();
}
